package com.juqimiao.linn.extension.mock.customer.partner;

import com.juqimiao.linn.extension.Extension;
import com.juqimiao.linn.extension.mock.customer.Customer;
import com.juqimiao.linn.extension.mock.customer.CustomerSubscribeCheckExtPt;
import com.juqimiao.linn.transfer.Response;
import com.juqimiao.linn.transfer.query.builders.ResponseBuilder;

@Extension(Interface = CustomerSubscribeCheckExtPt.class)
public class CustomerSubscribeCheckPartnerExtension implements CustomerSubscribeCheckExtPt{
    @Override
    public Response checkAndSubscribe(Customer customer) {
        return ResponseBuilder.builder().success("AAA").build();
    }
}
